Skip to content

Meta: use decodeHTMLStrict instead of decodeHTML5#652

Merged
nleush merged 2 commits intodevfrom
fix/meta-decode-html-strict
Apr 30, 2026
Merged

Meta: use decodeHTMLStrict instead of decodeHTML5#652
nleush merged 2 commits intodevfrom
fix/meta-decode-html-strict

Conversation

@nleush
Copy link
Copy Markdown
Member

@nleush nleush commented Apr 30, 2026

About the changes

  • Bug fix (non-breaking change which fixes an issue)

What has changed

Please describe what the code is doing (in this repo):

  • fix decodeHTML5 converts &region to ®ion
  • replace all decodeHTML5 with decodeHTMLStrict

@nleush nleush changed the title meta: use decodeHTMLStrict instead of decodeHTML5 Meta: use decodeHTMLStrict instead of decodeHTML5 Apr 30, 2026
@nleush nleush merged commit a1cba29 into dev Apr 30, 2026
3 checks passed
@nleush nleush deleted the fix/meta-decode-html-strict branch April 30, 2026 15:02
nleush added a commit that referenced this pull request Apr 30, 2026
* meta: use `decodeHTMLStrict` instead of `decodeHTML5`

* replace all `decodeHTML5` with `decodeHTMLStrict`
nleush added a commit that referenced this pull request Apr 30, 2026
* meta: use `decodeHTMLStrict` instead of `decodeHTML5`

* replace all `decodeHTML5` with `decodeHTMLStrict`
nleush added a commit that referenced this pull request May 7, 2026
* implement aliases for `getVars` method

* `plugins.always` try run plugin every call

* use `options.dataMode` and `/data/` plugins

* fix loading data plugins

* debugger: allow data request

* simplify `getDomainOptions` call

* config: add `GET_VARS_ALIASES`

* fix undefined

* show `vars` in debugger meta section

* remove unnecessary entities

* html escape query params (#647)

* [Domains] dailymail.co.uk is dailymail.com now (#648)

* replace dailymail.co.uk with dailymail.com

* dailymail.video: change aspect-ratio

* fix aspect-ratio

* Meta: use `decodeHTMLStrict` instead of `decodeHTML5` (#652)

* meta: use `decodeHTMLStrict` instead of `decodeHTML5`

* replace all `decodeHTML5` with `decodeHTMLStrict`

* `htmlparser` can return `plainresponse`

* detect `BIG_CONTEXT` by `abortController`; use `__nonHtmlContentResponse` attr

* move `__allowHtmlparser` to `cachedMeta`

* use `options.requestHeaders` to customize main request headers

* fix meta for __allowHtmlparser

* meta: allow customize cache prefix

* Update audit.log

* htmlparser: add `provides` `__nonHtmlContentResponse`

* simplify matchContentTypeHeaders

* allow for content-encoding in content-type header

* correct headers check

* debug: show positive plugin timings

* cleanup

* debug: faster BIG_CONTEXT check

* debug: remove obsolete hides

---------

Co-authored-by: Ivan Paramonau <i.paramonau@gmail.com>
Co-authored-by: Aliaksei <34516115+siniakinaa@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants